package com.suixin.learn.persistence.factory;

import com.suixin.learn.persistence.pojo.Configuration;
import com.suixin.learn.persistence.pojo.MappedStatement;

import java.sql.SQLException;
import java.util.List;

public interface Executor {

    <E> List<E> query(Configuration configuration, MappedStatement statement,Object... params) throws Exception;
    int update(Configuration configuration, MappedStatement statement,Object... params) throws Exception;
}
